package cn.tedu.jsd2205the.back.end.project.pojo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 订单状态更新
 */
@Data
public class OrderStatusHistory implements Serializable {
    private Integer id;
    /**
     * 订单状态
     */
    private Integer state;
    /**
     *  订单号
     */
    private String orderId;
    /**
     *  状态更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}